







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Inserts a BigList of items at the given index in the BigList. All items at indexes
equal to or greater than index increase their indices
by the number of items inserted.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public void InsertRange( int index, BigList<T> list ) |
Visual Basic (Declaration) |
---|
Public Sub InsertRange ( _ index As Integer, _ list As BigList(Of T) _ ) |
Visual C++ |
---|
public: void InsertRange ( int index, BigList<T>^ list ) |
Parameters
- index
- Int32
The index to insert the collection at. After the insertion, the first item of the inserted collection is located at this index. The first item has index 0.
- list
- BigList<(Of <T>)>
The BigList of items to insert at the given index.
Remarks
The amount of time to insert another BigList is O(log N),
where N is the number of items in the list, regardless of the number of items in the
inserted list. Storage is shared between the two lists until one of them is changed.
Exceptions
Exception | Condition |
---|---|
System..::ArgumentOutOfRangeException | index is less than zero or greater than Count. |
System..::ArgumentNullException | list is null. |
See Also
BigList<(Of <T>)> Class
Wintellect.PowerCollections Namespace